package org.emergent.lucidity.test;

import org.mozilla.javascript.ScriptableObject;

/**
 * User: pwoodworth
 * Date: Apr 14, 2008
 * Time: 9:39:04 AM
 */
public abstract class LucidScriptableObject extends ScriptableObject
{
    public String getClassName()
    {
        String fqn = this.getClass().getName();
        int dotidx = fqn.lastIndexOf( '.' );
        return fqn.substring( dotidx + 1 );
    }
}
